<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${checkLog.id}"  type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">检查项目：</label>
                            <div class="col-sm-8">
                                <input id="safeName" name="safeName" th:value="${checkLog.safeName}" class="form-control" type="text" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">检查状态：</label>
                            <div class="col-sm-8">
                                <input id="status" name="status" th:value="${checkLog.status == '0' ? '未检查' : '已检查'}" class="form-control" type="text" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">检查开始时间：</label>
                            <div class="col-sm-8">
                                <input id="checkTimeStart" name="checkTimeStart" th:value="${#dates.format(checkLog.checkTimeStart,'yyyy-MM-dd')}" class="form-control" type="text" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">检查结束时间：</label>
                            <div class="col-sm-8">
                                <input id="checkTimeEnd" name="checkTimeEnd" th:value="${#dates.format(checkLog.checkTimeEnd,'yyyy-MM-dd')}" class="form-control" type="text" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">检查时间：</label>
                            <div class="col-sm-8">
                                <input id="checkTime" name="checkTime" th:value="${checkLog.checkTimeStr}" class="form-control" type="text" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">安全位置：</label>
                            <div class="col-sm-8">
                                <input id="safePosition" name="safePosition" th:value="${checkLog.safePosition}" class="form-control" type="text" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">图片：</label>
                            <div id="uploader" class="wu-example col-sm-8">
                                <div class="queueList filled">

                                </div>
                            </div>
                        </div>
                        <!--<div class="form-group">
                            <label class="col-sm-3 control-label">创建时间：</label>
                            <div class="col-sm-8">
                                <input id="createTime" name="createTime" th:value="${checkLog.createTimeStr}" class="form-control" type="text" readonly>
                            </div>
                        </div>-->
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="button" class="btn btn-primary" onclick="closeIndex()">关闭</button>
                            </div>
                        </div>
                        <input id="oldAttachId" name="oldAttachId" type="hidden" th:value="${checkLog.attachId}">
                        <input id="htmlType" name="htmlType" type="hidden" th:value="detail">
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/system/checkLog/edit.js"></script>
<script type="text/javascript" th:src="@{/js/plugins/webuploader/webuploader.js}"></script>
<script type="text/javascript" th:src="@{/js/plugins/webuploader/webuploader_demo.js}"></script>
</body>
</html>
